﻿@if (Request.IsAuthenticated)
{
   @* <text>Hola <strong>@User.Identity.Name</strong>! [ @Html.ActionLink("Log Off", "LogOff", "Account")
    ]</text>*@
    <div class="btn-group pull-right">
        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-user">
        </i>@User.Identity.Name <span class="caret"></span></a>
        <ul class="dropdown-menu">
            <li><a href="@Url.Action("ChangePassword","Account")">Cambiar Contraseña</a></li>
            <li class="divider"></li>
            <li><a href="@Url.Action("LogOff","Account")">Salir</a></li>
        </ul>
    </div>
    
}
else
{
    
    @:<div class="pull-right"><a class="btn" href="@Url.Action("LogOn", "Account")">Entrar</a></div>
    
}
